#include <bits/stdc++.h>
using namespace std;

int main(){
    int n;
    cin>>n;
    printf("%.1f %.1f\n",n/2.0,-(n/2.0));
    return 0;
}